﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VLine.InputDto._0322
{
    public class PartnerInput
    {
        /// <summary>
        ///  商铺id
        /// </summary>
        [DisplayName("商铺id")]
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "商铺id必须大于0！")]//大于1正则表达式
        public int folder_id { get; set; }
        /// <summary>
        ///  用户id
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        ///  状态
        ///  【-1=全部；0=无效；1=有效】
        /// </summary>
        public int mess_status { get; set; }
        /// <summary>
        ///  经度
        /// </summary>
        public decimal gps_x { get; set; }
        /// <summary>
        ///  纬度
        /// </summary>
        public decimal gps_y { get; set; }
        /// <summary>
        ///  关键字模糊匹配：用户名、手机号
        /// </summary>
        public string keyword { get; set; }
        /// <summary>
        ///  模糊匹配：真实姓名
        /// </summary>
        public string du_name { get; set; }
        /// <summary>
        ///  默认：1
        ///  1=按审批通过时间降序（后审批的在前）
        ///  2=按距离顺序（距离小的在前）
        /// </summary>
        public int order_type { get; set; } = 1;
    }
}